<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PizzaManiaDAL" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PizzaManiaDAL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:50354/Service1.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
  <xs:import schemaLocation="http://localhost:50354/Service1.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ArrayOfCustomer">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Customer" nillable="true" type="tns:Customer" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomer" nillable="true" type="tns:ArrayOfCustomer" />
  <xs:complexType name="Customer">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseBusiness">
        <xs:sequence>
          <xs:element minOccurs="0" name="Customer_ID" type="xs:int" />
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ZIP" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Modified" nillable="true" type="q1:Binary" />
          <xs:element minOccurs="0" name="Orders" nillable="true" type="tns:ArrayOfOrder">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Customer" nillable="true" type="tns:Customer" />
  <xs:complexType name="BaseBusiness">
    <xs:sequence>
      <xs:element minOccurs="0" name="IsDirty" type="xs:boolean" />
      <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ValidationErrors" nillable="true" type="q2:ArrayOfKeyValueOfstringstring" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseBusiness" nillable="true" type="tns:BaseBusiness" />
  <xs:complexType name="ArrayOfOrder">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Order" nillable="true" type="tns:Order" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrder" nillable="true" type="tns:ArrayOfOrder" />
  <xs:complexType name="Order">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseBusiness">
        <xs:sequence>
          <xs:element minOccurs="0" name="Order_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Customer_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Store_ID" type="xs:int" />
          <xs:element minOccurs="0" name="OrderDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DeliverByDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DeliveredDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DeliveredBy" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Discount" nillable="true" type="xs:decimal" />
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Modified" nillable="true" type="q3:Binary" />
          <xs:element minOccurs="0" name="OrderPizzas" nillable="true" type="tns:ArrayOfOrderPizza">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Order" nillable="true" type="tns:Order" />
  <xs:complexType name="ArrayOfOrderPizza">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderPizza" nillable="true" type="tns:OrderPizza" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrderPizza" nillable="true" type="tns:ArrayOfOrderPizza" />
  <xs:complexType name="OrderPizza">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseBusiness">
        <xs:sequence>
          <xs:element minOccurs="0" name="OrderPizza_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Order_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Pizza_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Quantity" type="xs:int" />
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Modified" nillable="true" type="q4:Binary" />
          <xs:element minOccurs="0" name="OrderPizzaToppings" nillable="true" type="tns:ArrayOfOrderPizzaTopping">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OrderPizza" nillable="true" type="tns:OrderPizza" />
  <xs:complexType name="ArrayOfOrderPizzaTopping">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderPizzaTopping" nillable="true" type="tns:OrderPizzaTopping" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrderPizzaTopping" nillable="true" type="tns:ArrayOfOrderPizzaTopping" />
  <xs:complexType name="OrderPizzaTopping">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseBusiness">
        <xs:sequence>
          <xs:element minOccurs="0" name="OrderPizzaTopping_ID" type="xs:int" />
          <xs:element minOccurs="0" name="OrderPizza_ID" type="xs:int" />
          <xs:element minOccurs="0" name="Topping_ID" type="xs:int" />
          <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Modified" nillable="true" type="q5:Binary" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OrderPizzaTopping" nillable="true" type="tns:OrderPizzaTopping" />
</xs:schema>